package com.wechat.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AppUpdateDTO {
    private Integer id;

    @NotEmpty(message = "版本号不能为空")
    private String version;

    @NotEmpty(message = "更新描述不能为空")
    private String updateDesc;

    @NotNull(message = "文件类型不能为空")
    private Integer fileType;

    private String outerLink;
}